Install python-setuptools:
  pkg.installed:
    - name: python-setuptools

Install supervisor:
  cmd.run:
    - name: easy_install supervisor

Copy supervisor config supervisord.conf:
  file.managed:
    - name: /etc/supervisord.conf
    - source: salt://supervisor/files/supervisord.conf

Copy supervisor programs config:
  file.recurse:
    - name: /etc/supervisord.d
    - source: salt://supervisor/files/supervisord.d
